package com.loveweinuo;

import android.app.Application;

import com.loveweinuo.util.LogUtil;

/**
 * Created by 86178 on 2019/8/9.
 * author mogen
 * 用心，成就一切。
 */

public class WNApplication extends Application {

    public static WNApplication instance;

    public static WNApplication getInstance(){
        if (instance == null) {
            instance = new WNApplication();
        }
        return instance;
    }


    @Override
    public void onCreate() {
        super.onCreate();
        instance = this;

        LogUtil.init(true);
    }
}
